import { defineStore } from "pinia";
import { ref } from "vue";
interface ReportDetail {
	map_name: string;
	plan_name: string;
	[key: string]: any;
}

//报告详情数据
export const useReportDetailStore = defineStore("reportDetail", () => {
	const reportDetailData = ref<ReportDetail | null>(null);
	const setReportDetail = (ReportDetail: ReportDetail) => {
		reportDetailData.value = ReportDetail;
	};
	return {
		reportDetailData,
		setReportDetail,
	};
});
